#ifndef GRABTHREAD_H
#define GRABTHREAD_H

#include <QObject>
#include <QThread>
#include <MvCameraControl.h>
#include <QDebug>
#include <QImage>
#include <myimageprovider.h>

class GrabThread : public QThread
{
    Q_OBJECT
public:
    GrabThread();
    static GrabThread* getInstance();
    void run()override;
    void* handle;
signals:
    void refreshImage();
};

#endif // GRABTHREAD_H
